PDF4Java Reference Documentation
com.o2sol.pdf4java.core Package / PDFFileEx Class / getPageNumberForFieldWidget Method
The field that owns the widget.
Index of the widget.
In This Topic
    getPageNumberForFieldWidget Method
    In This Topic
    Gets the number of the page that includes the specified field widget.
    Syntax
    public int getPageNumberForFieldWidget( 
       java.lang.String fieldName,
       int widgetIndex
    )

    Parameters

    fieldName
    The field that owns the widget.
    widgetIndex
    Index of the widget.

    Return Value

    The number of the page that includes the specified field widget or -1 if the field name is invalid.
    See Also